package collection;

import java.util.List;

public class test {
    public static void main(String[] args) {
        MyArrayList<String> list = new MyArrayList<String>();
        boolean abc = list.add("abc0");
        list.add("abc1");
        list.add("abc2");
        list.add("abc3");
        list.add("abc4");
        list.add("abc5");
        list.add("abc6");
        list.add("abc7");
        list.add("abc8");
        list.add("abc9");
        list.add("abc10");
        list.add("abc11");
        list.add("abc12");
        list.add("abc13");
        System.out.println(abc);
        System.out.println(list);
        String str =list.get(0);
        System.out.println(str);
        list.remove(1);
        System.out.println(list);
        System.out.println(list.size());
        System.out.println(list.contains("abc"));
        String abc22 = list.set(1, "abc22");
        System.out.println(abc22);
        System.out.println(list);



    }
}
